<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use DB;

class LoadingController extends Controller
{
    public function loading(){
        $beijing=DB::table("areas")->get();
        $area=DB::table("areas")->groupBy("area")->get();
        return view('index.loading',['beijing'=>$beijing,'areas'=>$area]);
         }
}
